package com.atguigu.excel.excelRead.excelWrite;

import com.alibaba.excel.EasyExcel;

import java.util.ArrayList;
import java.util.List;

/**
 * @Auther: fangshicai
 * @Date: 2022/1/24 22:30
 * @Description: 实现写入excel功能
 */

/**
 * DataDemo类的属性名不能有大写，
**/
public class ExcelWriteDemo {
    public static void main(String[] args) {
        String fileName = "D:\\excelDemo2.xlsx";

        EasyExcel.read(fileName,DataDemo.class,new MyAnalysisEventListener()).sheet().doRead();

    }

}
